/**
 * Copyright 2007-2008. Chongqing First Information & Network Co., Ltd. All rights reserved.
 * <a>http://www.cqfirst.com.cn</a>
 */
package com.cqcis.uip.orm.jdbc;

import org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport;
import org.springframework.jdbc.core.simple.SimpleJdbcTemplate;

/**
 * JDBC DAO基类
 * @author liuhz create 2007-12-4
 */
public class BaseJdbcDao extends SimpleJdbcDaoSupport {
	private BaseJdbcTemplate baseJdbcTemplate;

	@Override
	protected void initTemplateConfig() {
		this.baseJdbcTemplate = new BaseJdbcTemplate(getJdbcTemplate());
	}
    
	@Override
	public SimpleJdbcTemplate getSimpleJdbcTemplate() {
		return this.baseJdbcTemplate;
	}
}
